package cn.dbqn.service;

import cn.dbqn.dao.DieoutMapper;
import cn.dbqn.entity.Dieout;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DieoutService {
    @Autowired
    private DieoutMapper dieoutMapper;

    //查询所有淘汰信息
    public List<Dieout> findAllTt(){
        return dieoutMapper.findAll();
    }

    public Dieout ttxx(Integer dieoutNo){
        return dieoutMapper.ttxx(dieoutNo);
    }
}
